<template>
  <div class="bigBox">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="教学点管理" name="教学点管理">
        <teaching />
      </el-tab-pane>
      <el-tab-pane label="教师管理" name="教师管理">
        <teacher />
      </el-tab-pane>
      <el-tab-pane label="教材管理" name="教材管理">
        <teachingMaterial />
      </el-tab-pane>
      <el-tab-pane label="课程管理" name="课程管理">
        <courseManagement />
      </el-tab-pane>
      <el-tab-pane label="订单管理" name="订单管理">
        <oderManter />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import { teaching, teacher, teachingMaterial, courseManagement, oderManter } from '@/components/management/index.js'
export default {
  components: {
    teaching,
    teacher,
    teachingMaterial,
    courseManagement,
    oderManter
  },
  data () {
    return {
      activeName: '教学点管理'
    }
  },
  methods: {
    handleClick (tab, event) {
      console.log(tab, event)
    }
  }
}
</script>

<style lang="less" scped>

  .bigBox {
    background-color: #ffffff;
    padding: 1.25rem;
    padding-top: .3125rem;
  }

</style>
